// 引入HTTP请求
import http from "@/api/request";

// 根据用户权限获取系统左侧菜单
export const loadCmsRouterUserList = (prams) => {return http.post("/cms/system/loadCmsRouterUserList", prams)};
// 获取路由管理页面表格数据
export const loadCmsRouterConfigList = (prams) => {return http.post("/cms/system/loadCmsRouterConfigList", prams)};
// 根据关键字搜索父级菜单
export const loadCmsRouterListByStr = (prams) => {return http.post("/cms/system/loadCmsRouterListByStr", prams)};
// 保存路由数据
export const saveCmsRouterConfig = (prams) => {return http.post("/cms/system/saveCmsRouterConfig", prams)};
// 更新路由信息
export const updateCmsRouterConfig = (prams) => {return http.post("/cms/system/updateCmsRouterConfig", prams)};
// 更新路由发布状态
export const updateCmsRouterStatus = (prams) => {return http.post("/cms/system/updateCmsRouterStatus", prams)};
// 删除路由数据
export const deleteCmsRouterConfig = (prams) => {return http.post("/cms/system/deleteCmsRouterConfig", prams)};
// 获取角色管理页面数据列表
export const loadCmsCharacterList = (prams) => {return http.post("/cms/system/loadCmsCharacterList", prams)};
// 获取角色新增/修改页可选父级菜单列表
export const loadCmsRouterList = (prams) => {return http.post("/cms/system/loadCmsRouterList", prams)};
// 获取角色新增/修改页可选子级菜单列表
export const loadCmsRouterChildList = (prams) => {return http.post("/cms/system/loadCmsRouterChildList", prams)};
// 获取角色新增/修改页操作权限列表
export const loadCmsPermissionList = (prams) => {return http.post("/cms/system/loadCmsPermissionList", prams)};
// 保存后台登录用户
export const saveCmsCharacterData = (prams) => {return http.post("/cms/system/saveCmsCharacterData", prams)};
// 更新后台登录用户
export const updateCmsCharacterData = (prams) => {return http.post("/cms/system/updateCmsCharacterData", prams)};
// 更新后台登录用户发布状态
export const updateCmsCharacterStatus = (prams) => {return http.post("/cms/system/updateCmsCharacterStatus", prams)};
// 删除后台登录用户
export const deleteCmsCharacterData = (prams) => {return http.post("/cms/system/deleteCmsCharacterData", prams)};
